<?php  if (!defined("IS_INITPHP")) exit("Access Denied!");  /* INITPHP Version 1.0 ,Create on 2017-07-10 22:32:23, compiled from E:\WYT\sz-xlh/app/template/kabasi/home/nav.html */ ?>
<div id="top_link">咨询热线：0592-2209787</div>
<div id="nav">
	<div>
		<div class="nav_l"></div>
		<ul id="nav_show" class="navigation">
			<?php foreach ($nav as $k=>$v) { ?>
				<?php if ($v['sub']) { ?>
					<li>
						<span><a href="<?php echo $v['url'];?>"> <?php echo $v['title'];?></a>
							<ul>
								<?php foreach ($v['sub'] as $k2=>$v2) { ?>
								<?php if ($v2['sub']) { ?>
									 <li>
								        <span><a href="<?php echo $v2['url'];?>"><?php echo $v2['title'];?></a>
										    <ul>
										    <?php foreach ($v2['sub'] as $k3=>$v3) { ?>
										    	<li><a href="<?php echo $v3['url'];?>"> <?php echo $v3['title'];?></a></li>
										    <?php } ?>
										        </ul></span>
								        </li>
								<?php } else { ?>
								<li><a href="<?php echo $v2['url'];?>"> <?php echo $v2['title'];?></a></li>
								<?php } ?>
								<?php } ?>
							</ul>
						</span>
					</li>
				<?php } else { ?>
					<li><a href="<?php echo $v['url'];?>"<?php if ($v['url']=="/guestbook/") { ?> rel="nofollow"<?php } ?>> <?php echo $v['title'];?></a></li>
				<?php } ?>
			
			<?php } ?>
		</ul>
		<div class="nav_r"></div>
		<script type="text/javascript">
			var topMenuNum = 0;
			$("#nav_show li span").hover(function() {
				topMenuNum++;
				$(this).attr("id", "kindMenuHover" + topMenuNum);
				$("#kindMenuHover" + topMenuNum + " > ul").show();
				$(this).parent().addClass("hover");
			}, function() {
				$("#" + $(this).attr("id") + " > ul").hide();
				$(this).attr("id", "");
				$(this).parent().removeClass("hover");
			});
		</script>
	</div>
</div>